/**
 * 2015，thor.com，all rights reserved。
 * 
 * Project：		thor-webui-core-TRUNK
 * Filename：	PIpapk.java
 * Created：		2015年10月27日
 * Creator：		thor
 */
package com.thor.palmmall.dao.unifyversion;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;

import com.thor.commons.jpa.entity.PEntity;
import com.thor.palmmall.rest.unifyversion.UIpapkType;

@Entity
@Table(name = "UIpapk")
public class PUIpapk extends PEntity {
  private static final long serialVersionUID = -575583359409350443L;

  private UIpapkType type;
  private String url;
  private String version;
  private boolean forceUpdate;
  private String backgroundUrl;
  private String versionnote;// 更新内容描述
  private String picUrl;
  private String logoUrl;
  private String headText;
  private String footText;
  private boolean needUpdate;
  private String authCode;
  private String apiKey;
  private String appKey;
  private String fineReportUrl;
  private String contractCheckUrl;
  private boolean isDebug;

  @Enumerated(value = EnumType.STRING)
  @Column(name = "type", nullable = true, length = 128)
  public UIpapkType getType() {
    return type;
  }

  public void setType(UIpapkType type) {
    this.type = type;
  }

  @Column(name = "url", nullable = true, length = 200)
  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  @Column(name = "fversion", nullable = true, length = 128)
  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  @Column(name = "forceUpdate")
  public boolean isForceUpdate() {
    return forceUpdate;
  }

  public void setForceUpdate(boolean forceUpdate) {
    this.forceUpdate = forceUpdate;
  }

  @Column(name = "backgroundurl", nullable = true, length = 200)
  public String getBackgroundUrl() {
    return backgroundUrl;
  }

  public void setBackgroundUrl(String backgroundUrl) {
    this.backgroundUrl = backgroundUrl;
  }

  @Column(name = "versionnote", nullable = true, length = 400)
  public String getVersionnote() {
    return versionnote;
  }

  public void setVersionnote(String versionnote) {
    this.versionnote = versionnote;
  }

  @Column(name = "picUrl", nullable = true, length = 512)
  public String getPicUrl() {
    return picUrl;
  }

  public void setPicUrl(String picUrl) {
    this.picUrl = picUrl;
  }

  @Column(name = "logoUrl", nullable = true, length = 512)
  public String getLogoUrl() {
    return logoUrl;
  }

  public void setLogoUrl(String logoUrl) {
    this.logoUrl = logoUrl;
  }

  @Column(name = "headText", nullable = true, length = 512)
  public String getHeadText() {
    return headText;
  }

  public void setHeadText(String headText) {
    this.headText = headText;
  }

  @Column(name = "footText", nullable = true, length = 512)
  public String getFootText() {
    return footText;
  }

  public void setFootText(String footText) {
    this.footText = footText;
  }

  @Column(name = "needUpdate")
  public boolean isNeedUpdate() {
    return needUpdate;
  }

  public void setNeedUpdate(boolean needUpdate) {
    this.needUpdate = needUpdate;
  }

  @Column(name = "authCode", nullable = true, length = 50)
  public String getAuthCode() {
    return authCode;
  }

  public void setAuthCode(String authCode) {
    this.authCode = authCode;
  }

  @Column(name = "apiKey", nullable = true, length = 50)
  public String getApiKey() {
    return apiKey;
  }

  public void setApiKey(String apiKey) {
    this.apiKey = apiKey;
  }

  @Column(name = "appKey", nullable = true, length = 50)
  public String getAppKey() {
    return appKey;
  }

  public void setAppKey(String appKey) {
    this.appKey = appKey;
  }

  @Column(name = "fineReportUrl", nullable = true, length = 1024)
  public String getFineReportUrl() {
    return fineReportUrl;
  }

  public void setFineReportUrl(String fineReportUrl) {
    this.fineReportUrl = fineReportUrl;
  }

  @Column(name = "contractCheckUrl", nullable = true, length = 1024)
  public String getContractCheckUrl() {
    return contractCheckUrl;
  }

  public void setContractCheckUrl(String contractCheckUrl) {
    this.contractCheckUrl = contractCheckUrl;
  }

  @Column(name = "isDebug")
  public boolean isDebug() {
    return isDebug;
  }

  public void setDebug(boolean isDebug) {
    this.isDebug = isDebug;
  }

}
